package com.example.gatewayservice.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserActivityMessage implements Serializable {          //这个要和gateway里面的一样
    private static final long serialVersionUID = 3L;
    public String userId;
    public String role;      // "TEACHER" 或 "STUDENT"
    public String path;
    public String method;
    public long timestamp;
    public String userAgent;
}
